package org.gd.hellojaxb.privat24.statements;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.ArrayList;
import java.util.List;

@XmlAccessorType(XmlAccessType.FIELD)
@XmlRootElement(name = "StatementsList")
public class StatementsList {

    @XmlElement(name = "row")
    private List<StatementsRow> statementsList = new ArrayList<StatementsRow>();

    public StatementsList() {
        super();
        statementsList.add(new StatementsRow());
        statementsList.add(new StatementsRow());
        statementsList.add(new StatementsRow());
    }

    public List<StatementsRow> getStatementsList() {
        return statementsList;
    }
}
